/**
 * Copyright 2018 人人开源 http://www.renren.io
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

package io.renren.modules.sys.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;



/**
 * 用户
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2017-03-23 15:22:06
 */
@TableName("tb_user")
public class UserEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 用户ID
	 */
	@TableId
	private Long userId;
	/**
	 * 用户名
	 */
	private String username;

	/**
	 * 性别
	 */
	private String sex;
	/**
	 * 手机号
	 */
	private String mobile;
	/**
	 * 密码
	 */
	@JSONField(serialize=false)
	private String password;
	/**
	 * 创建时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;


	/**
	 * QQuid
	 */
	@JSONField(serialize=false)
	private String qqUid;

	/**
	 * QQuid
	 */
	@JSONField(serialize=false)
	private String nickName;


	private byte[] nickNameB;

	/**
	 * 微信OpenId
	 */
	@JSONField(serialize=false)
	private String openId;


	/**
	 * QQuid
	 */
	@JSONField(serialize=false)
	private String headImg;
	
	/**
	 * 年龄
	 * @return
	 */
	private String age;
	
	/**
	 * 信息
	 * @return
	 */
	private String address;

	/**
	 * 修改的新密码
	 * @return
	 */
	private String newPassword;

	/**
	 * 修改的新手机号
	 * @return
	 */
	private String newMobile;

	/**
	 * 发送的验证码
	 * @return
	 */
	private String newCode;

	private Integer isAuthentication;
	private Integer integral;

	private int isBangDingQQ;
	private int isBangDingWeChat;
	private Integer schoolId;
	private String schoolName;
	private Integer status;

	public String getIsAttention() {
		return isAttention;
	}

	public void setIsAttention(String isAttention) {
		this.isAttention = isAttention;
	}

	private String isAttention;


	public byte[] getNickNameB() {
		return nickNameB;
	}

	public void setNickNameB(byte[] nickNameB) {
		this.nickNameB = nickNameB;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getSchoolId() {
		return schoolId;
	}

	public void setSchoolId(Integer schoolId) {
		this.schoolId = schoolId;
	}

	public String getSchoolName() {
		return schoolName;
	}

	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}

	public int getIsBangDingQQ() {
		return isBangDingQQ;
	}

	public void setIsBangDingQQ(int isBangDingQQ) {
		this.isBangDingQQ = isBangDingQQ;
	}

	public int getIsBangDingWeChat() {
		return isBangDingWeChat;
	}

	public void setIsBangDingWeChat(int isBangDingWeChat) {
		this.isBangDingWeChat = isBangDingWeChat;
	}

	public Integer getIntegral() {
        return integral;
    }

    public void setIntegral(Integer integral) {
        this.integral = integral;
    }

    public Integer getIsAuthentication() {
		return isAuthentication;
	}

	public void setIsAuthentication(Integer isAuthentication) {
		this.isAuthentication = isAuthentication;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	/**
	 * 唯一标识
	 * @return
	 */
	private String token;
	/**
	 * 关注的人的数量
	 */
	private int attentionCount;

	public int getAttentionCount() {
		return attentionCount;
	}

	public void setAttentionCount(int attentionCount) {
		this.attentionCount = attentionCount;
	}

	public int getFansCount() {
		return fansCount;
	}

	public void setFansCount(int fansCount) {
		this.fansCount = fansCount;
	}

	/**
	 * 粉丝数量
	 */
	private int fansCount;

	/**
	 * 笔记数量
	 */
	private int noteCount;

	/**
	 * 个人简介
	 */
	private String introduction;

	/**
	 * 获赞次数
	 */
	private int likeCount;

	/**
	 *生日
	 * @return
	 */
	private String birthday;

	/**
	 *所在地
	 * @return
	 */
	private String liveLocation;

	/**
	 *职业
	 * @return
	 */
	private String work;

	/**
	 *行业
	 * @return
	 */
	private String industry;

	/**
	 *公司
	 * @return
	 */
private String company;

	/**
	 *工作时间
	 * @return
	 */
private Date workTime;

	/**
	 *毕业院校
	 * @return
	 */
	private String graduateSchool;

	/**
	 *毕业时间
	 * @return
	 */
	private Date graduateTime;

	/**
	 *个人标签
	 * @return
	 */
		private String personalLable;

	/**
	 *是否是第一次登陆
	 * @return
	 */
	private int isOneLogin;

	/**
	 *学历
	 * @return
	 */
	private String education;


	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getLiveLocation() {
		return liveLocation;
	}

	public void setLiveLocation(String liveLocation) {
		this.liveLocation = liveLocation;
	}

	public String getWork() {
		return work;
	}

	public void setWork(String work) {
		this.work = work;
	}

	public String getIndustry() {
		return industry;
	}

	public void setIndustry(String industry) {
		this.industry = industry;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public Date getWorkTime() {
		return workTime;
	}

	public void setWorkTime(Date workTime) {
		this.workTime = workTime;
	}

	public String getGraduateSchool() {
		return graduateSchool;
	}

	public void setGraduateSchool(String graduateSchool) {
		this.graduateSchool = graduateSchool;
	}

	public Date getGraduateTime() {
		return graduateTime;
	}

	public void setGraduateTime(Date graduateTime) {
		this.graduateTime = graduateTime;
	}

	public String getPersonalLable() {
		return personalLable;
	}

	public void setPersonalLable(String personalLable) {
		this.personalLable = personalLable;
	}

	public int getIsOneLogin() {
		return isOneLogin;
	}

	public void setIsOneLogin(int isOneLogin) {
		this.isOneLogin = isOneLogin;
	}

	public String getEducation() {
		return education;
	}

	public void setEducation(String education) {
		this.education = education;
	}

	public int getLikeCount() {
		return likeCount;
	}

	public void setLikeCount(int likeCount) {
		this.likeCount = likeCount;
	}

	public String getIntroduction() {
		return introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	public int getNoteCount() {
		return noteCount;
	}

	public void setNoteCount(int noteCount) {
		this.noteCount = noteCount;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getQqUid() {
		return qqUid;
	}

	public void setQqUid(String qqUid) {
		this.qqUid = qqUid;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getHeadImg() {
		return headImg;
	}

	public void setHeadImg(String headImg) {
		this.headImg = headImg;
	}

	public String getAge() {
		return age;
	}

	public void setAge(String age) {
		this.age = age;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getNewPassword() {
		return newPassword;
	}

	public void setNewPassword(String newPassword) {
		this.newPassword = newPassword;
	}

	public String getNewMobile() {
		return newMobile;
	}

	public void setNewMobile(String newMobile) {
		this.newMobile = newMobile;
	}

	public String getNewCode() {
		return newCode;
	}

	public void setNewCode(String newCode) {
		this.newCode = newCode;
	}
}
